﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FileManager.aspx.cs" Inherits="eCommerce.cms.FileManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>.: File Manager :.</title>

    <script src="/elFinder/js/jquery-1.4.1.min.js" type="text/javascript" charset="utf-8"></script>

    <script src="/elFinder/js/jquery-ui-1.7.2.custom.min.js" type="text/javascript" charset="utf-8"></script>

    <link rel="stylesheet" href="elFinder/js/ui-themes/base/ui.all.css" type="text/css" media="screen" />

    <script src="/elFinder/js/elfinder.full.js" type="text/javascript" charset="utf-8"></script>

    <link rel="stylesheet" href="/elFinder/css/elfinder.css" type="text/css" media="screen" />

    <script src="elFinder/js/i18n/elfinder.es.js" type="text/javascript" charset="utf-8"></script>

    <script type="text/javascript" charset="utf-8">
        $(document).ready(function () {
            $('#finder').elfinder({
                url: 'test.connector',
//                dialog: { width: 900, modal: true },
                editorCallback: function (url) {
                    alert(url);
                    //                document.getElementById($id).value = url; 
                }
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="finder"></div>
    </form>
</body>
</html>
